package com.xianyun.common.core.utils;

import org.springframework.util.DigestUtils;

/**
 * @author mac_zyj
 */
public class TokenContentUtil {
    public static String getRedisSecurityKey(String sessionId){
        String securityKey = "LOGIN_TOKEN_"+sessionId;
        return DigestUtils.md5DigestAsHex(securityKey.getBytes());
    }
}
